﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminUserAccount.aspx.cs" Inherits="Admin_AdminUserAccount" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div align="center">
            <asp:Label ID="lbAccount" runat="server" Font-Size="18pt"></asp:Label></div>
        <br />
        <br />
        <asp:GridView ID="gvUsers" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="Id" HorizontalAlign="Center" 
            onrowcancelingedit="gvUsers_RowCancelingEdit" 
            onrowdeleting="gvUsers_RowDeleting" onrowediting="gvUsers_RowEditing" 
            onrowupdating="gvUsers_RowUpdating">
            <Columns>
                <asp:BoundField DataField="Id" HeaderText="ID" InsertVisible="False" 
                    ReadOnly="True" SortExpression="Id" />
                <asp:BoundField DataField="UserName" HeaderText="UserName" 
                    SortExpression="UserName"  ReadOnly="true"/>
                <asp:BoundField DataField="FirstName" HeaderText="FirstName" 
                    SortExpression="FirstName" />
                <asp:BoundField DataField="LastName" HeaderText="LastName" 
                    SortExpression="LastName" />
                <asp:CheckBoxField DataField="IsActived" HeaderText="IsActive" 
                    SortExpression="IsActived" />
                <asp:CheckBoxField DataField="IsAdmin" HeaderText="IsAdmin" 
                    SortExpression="IsAdmin" />
                <asp:CommandField ShowEditButton="True" />
                <asp:CommandField ShowDeleteButton="True" />
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
